package com.ruoyi.hotel.mapper;

import java.util.List;
import com.ruoyi.hotel.domain.DishOrderDetail;

/**
 * Mapper接口
 * 
 * @author chen
 * @date 2022-05-03
 */
public interface DishOrderDetailMapper 
{
    /**
     * 查询
     * 
     * @param id 主键
     * @return 
     */
    public DishOrderDetail selectDishOrderDetailById(Long id);

    /**
     * 查询列表
     * 
     * @param dishOrderDetail 
     * @return 集合
     */
    public List<DishOrderDetail> selectDishOrderDetailList(DishOrderDetail dishOrderDetail);

    /**
     * 新增
     * 
     * @param dishOrderDetail 
     * @return 结果
     */
    public int insertDishOrderDetail(DishOrderDetail dishOrderDetail);

    /**
     * 修改
     * 
     * @param dishOrderDetail 
     * @return 结果
     */
    public int updateDishOrderDetail(DishOrderDetail dishOrderDetail);

    /**
     * 删除
     * 
     * @param id 主键
     * @return 结果
     */
    public int deleteDishOrderDetailById(Long id);

    /**
     * 批量删除
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDishOrderDetailByIds(Long[] ids);
}
